#pragma once

[
    object,
    uuid("5DCCC642-51BF-44ac-85C9-F445E0F232AB"),
    pointer_default(unique)
]
__interface IxPairVec : IUnknown
{
    HRESULT GetCount(LPINT pnCount);

    HRESULT GetName(INT nIndex, LPBSTR pbsName);

    HRESULT AddStr(BSTR bsName, BSTR bsValue);
    HRESULT GetStr(INT nIndex, LPBSTR pbsValue);

    HRESULT AddInterface(BSTR bsName, IUnknown* pUnknown);
    HRESULT GetInterface(INT nIndex, REFIID riid, void** ppvValue);

};